// 重置默认样式
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: $font-size-base;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
        'Noto Sans', sans-serif;
    line-height: 1.5;
    color: $text-color-primary;
    background-color: $bg-color-base;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: $primary-color;
    text-decoration: none;

    &:hover {
        color: lighten($primary-color, 10%);
    }
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

button {
    border: none;
    background: none;
    cursor: pointer;

    &:focus {
        outline: none;
    }
}
